package com.zjut.an.util.module;

import com.zjut.an.util.system.Status;


public class SelectKeyValue {
	private String key;
	private String value;

	public static SelectKeyValue statusToSelect(Status status) {
		return new SelectKeyValue(status.getStatus(), status.ordinal()+"");
	}
	
	public SelectKeyValue(String key, String value) {
		super();
		this.key = key;
		this.value = value;
	}

	public SelectKeyValue() {

	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

}
